<template>
   <div class="logo" @click="jumpPage('/')">
    <img :src="require(`../../theme/image/headLogo${themeStore.themeColor}.png`)" alt="" srcset="">
    ****设计
  </div>
</template>

<script lang="ts" setup>
import { useRouter } from "vue-router"

// pinia 主题
import useTheme from '../../stores/module/theme'
const themeStore = useTheme()

const router = useRouter()

const jumpPage = (url) => {
  router.push({
    path: url
  })
}

</script>

<style lang="scss" scoped>
.logo {
  cursor: pointer;
  z-index: 9;
  img {
    height: 35px;
  }
}
</style>